import request from '@/utils/request'

/**
 * 获取首页展示数据
 */
const getHomeData = () => {
  return request({ url: '/home/data' })
}

/**
 * 首页获取消息
 */
const getMessageList = () => {
  return request({ url: '/home/notice' })
}

export {
  getHomeData,
  getMessageList
}
